home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Scope
/
Scope Disk #058 (199x)(Scope PD)(US)[WB].zip
/
Scope Disk #058 (199x)(Scope PD)(US)[WB].adf
/
B1Subs
/
BasicSUBS.read
< prev
next >
Wrap
Text File
|
1989-01-24
|
3KB
|
88 lines
*********************** BASIC SUB-ROUTINES **********************
Part 1 of a (possible) series of sub-routines which either
extend the power of AmigaBasic, or just save a lot of typing.
They were gleaned from magazines and books or constructed
from bits and pieces gathered from everywhere.
Most of the sub-routines are presented as free-standing
programs which can easily be stripped to their essentials
and incorporated into you programs.
The ".bmap" files are 1.2 (or later) versions and may be required
for some programs to work.
ILBM.integral (and ILBM.normal) both set up the VASSALLO ILBM
loading and saving assembly routines which can be called at any
time from within your programs.
V-Palette is (as you might guess) a vertical palette which can
be called at any time into any resolution picture. It is again an
assembly routine from that gifted french guy, CHARLES VASSALLO.
ARP.sub is the ARP/TxEd filerequester. It requires both the
"ARP.bmap" and (in your "Libs" directory) the ARP.library. It may seem
like a hassle, but it's well worth it.
MaxWindow utilizes the "layers.bmap" to give you a full-sized
80*25 or 80*50 (columns, rows) screen.
TextRace is a collection of fast text routines.
Wactive activates windows so that one doesn't have to click in
them before typing. Unimpressive until you need it.
Pointer allows you to change pointers.
BReq is a window which rises from the bottom of the screen over your
main window to give you a consistent text (requester or ??) environment no
matter what resolution/palette you use in the main program.
Rqstr gives you an "official" looking requester for those simple
Yes/No kinda questions.
BasicCLI.core accesses CLI commands with the option of a "CON:" window
for ANSI text.
Ender is a general purpose cleanup subroutine for ending Basic
programs and returning all the memory for future use. It also gives
the user some choice in "what next, Master?"
Pixaminer reads the resolution and bit-planes from a file on disk
so that you can set up the screen and window before loading a pic to
your program with the ILBM routines. You don't HAVE to set up a screen
and window, but if you don't you won't be able to manipulate, draw or
type on the screen.
ColorLab has the routines for using HAM and Half-brite from Basic.
GetaBOB takes a portion of the screen and converts it into a BOB.
That can come in real handy if used in conjunction with the ILBMload
sub-routines.
Sliders is a multi-slider requester subroutine which is easy to
customize to suit your program's needs.
Numquist isn't a sub-routine, but it's the easiest way I've found
to design AND get hardcopies of fill and line pattern arrays.
BorderColor illustrates how to change window border and text colors.
Actually it's just a very fancy way to illustrate two POKEs.
4096 is a picture of 4096 colors. I use it a lot.
SubMenu allows the use of fancy-schmancy submenus in Basic.
The ".bmap.Sub"s are somewhat different from the other subs in that
their purpose is strictly to make your programs self-contained. What they
do is make a ".bmap" file in RAM: so that you can use a LIBRARY
"RAM:XX.library" line and then (at the end of the program) have a KILL
"RAM:XX.bmap" line to erase the evidence of your trickery. This can come
in handy for compiled programs or programs that you don't want to access
the disks to look for ".bmaps".
****************************** JeC ****************************